package com.dadie.Dto;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alon
 * @since 2021-01-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_waste_order")
public class WasteOrderDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 废品订单id
     */
    private String wasteOrderId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 留存电话
     */
    private String userPhone;

    /**
     * 用户所选地址
     */
    private String userAddressId;

    /**
     * 创建订单时间
     */
    private LocalDateTime createTime;

    /**
     * 用户修改订单时间
     */
    private LocalDateTime updateTime;

    /**
     * 接订单站点id
     */
    private String siteId;

    private String riderId;

    /**
     * 1用户下单/2站点接单/3已完成/4坏单用户取消订单
     */
    private Integer wasteOrderStatus;

    /**
     * 卖废品的预约时间
     */
    private LocalDateTime appointmentTime;

    /**
     * 用户拍的照片
     */
    private String wasteOrderData;

    /**
     * 订单留言
     */
    private String wasteOrderMessage;

    private List<WasteOrderDetailsDto> wasteOrderDetailsDtoList;
}
